package org.microser.gataway.zuul.system.service;

import org.microser.gataway.zuul.system.entity.Role;
import org.microser.gataway.zuul.system.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liujiamiao
 * @since 2020-11-25
 */
public interface RolePermissionService extends IService<RolePermission> {

    /**
     * 根据单个角色找到权限
     * @param role
     * @return
     */
    List<String> queryPermisstionIdsByRole(Role role);

}
